{
  "properties" : { },
  "id" : "copy1735706354037d33240",
  "script" : null,
  "groupId" : "2aa9cb7c26b74542a65dabb99811a5f0",
  "name" : "02.多多进宝商品详情查询",
  "createTime" : null,
  "updateTime" : 1735730218261,
  "lock" : null,
  "createBy" : null,
  "updateBy" : null,
  "path" : "/goodsDetail",
  "method" : "POST",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : "{\n    \"goodsSign\":\"E9X2AtV0eIdKsPW1wfveNm0GBR5F1DlF_JQ1xSHZUu\"\n}",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"code\": 200,\n    \"message\": \"success\",\n    \"data\": {\n        \"errorResponse\": null,\n        \"requestId\": null,\n        \"goodsDetailResponse\": {\n            \"goodsDetails\": [\n                {\n                    \"activityPromotionRate\": null,\n                    \"activityTags\": [\n                        12351,\n                        10943,\n                        11025,\n                        13360,\n                        11879,\n                        12937,\n                        12123,\n                        12756,\n                        12810,\n                        12806,\n                        12485,\n                        11818,\n                        14563,\n                        14599,\n                        14458,\n                        14771,\n                        14659,\n                        10792,\n                        31,\n                        14056,\n                        14060,\n                        14061,\n                        13034,\n                        13149,\n                        13134,\n                        13128,\n                        13835,\n                        12562,\n                        13701\n                    ],\n                    \"brandName\": \"认养\",\n                    \"cashGiftAmount\": null,\n                    \"catId\": 6582,\n                    \"catIds\": [\n                        6536,\n                        6580,\n                        6582\n                    ],\n                    \"cltCpnBatchSn\": null,\n                    \"cltCpnDiscount\": null,\n                    \"cltCpnEndTime\": null,\n                    \"cltCpnMinAmt\": null,\n                    \"cltCpnQuantity\": null,\n                    \"cltCpnRemainQuantity\": null,\n                    \"cltCpnStartTime\": null,\n                    \"couponDiscount\": 2000,\n                    \"couponEndTime\": 1751212799,\n                    \"couponMinOrderAmount\": 2000,\n                    \"couponRemainQuantity\": 14841,\n                    \"couponStartTime\": 1735660800,\n                    \"couponTotalQuantity\": 20000,\n                    \"createAt\": null,\n                    \"descTxt\": \"高\",\n                    \"extraCouponAmount\": 2000,\n                    \"goodsDesc\": \"认养 5箱年货礼盒【带提手】纯奶牧场源鲜纯牛奶整箱送礼【10天内发货】\",\n                    \"goodsGalleryUrls\": [\n                        \"https://img.pddpic.com/mms-material-img/2024-12-13/7c779229-f077-4401-8bea-0af0a39928fa.jpeg\",\n                        \"https://img.pddpic.com/mms-material-img/2024-12-02/99b56cf7-a371-425c-ba51-310de1538c1e.jpeg\",\n                        \"https://img.pddpic.com/mms-material-img/2024-12-02/b13abe60-8601-4f4e-ad46-a0ad21d2a785.jpeg\",\n                        \"https://img.pddpic.com/mms-material-img/2024-12-02/b0ec9c42-974d-4e5b-9055-fe0492d8bf9a.jpeg\",\n                        \"https://img.pddpic.com/mms-material-img/2024-12-02/e3e56a22-ffbf-4843-ad61-c09fad5149e8.jpeg\",\n                        \"https://img.pddpic.com/mms-material-img/2024-12-02/8c94828a-8acf-42ea-8abb-d19c4aebb00e.jpeg\",\n                        \"https://img.pddpic.com/mms-material-img/2024-12-02/af584d38-fdca-4b43-92af-c5b6ee1fecd9.jpeg\"\n                    ],\n                    \"goodsImageUrl\": \"https://img.pddpic.com/mms-material-img/2024-12-13/7c779229-f077-4401-8bea-0af0a39928fa.jpeg\",\n                    \"goodsName\": \"认养 5箱年货礼盒【带提手】纯奶牧场源鲜纯牛奶整箱送礼【10天内发货】\",\n                    \"goodsSign\": \"E9X2AtV0eIdKsPW1wfveNm0GBR5F1DlF_JQ1xSHZUu\",\n                    \"goodsThumbnailUrl\": \"https://img.pddpic.com/gaudit-image/2024-12-29/af670f4fe6b00c9fe33c2a72cc43c024.jpeg\",\n                    \"hasCoupon\": true,\n                    \"hasMallCoupon\": false,\n                    \"isMultiGroup\": false,\n                    \"lgstTxt\": \"高\",\n                    \"mallCouponDiscountPct\": 0,\n                    \"mallCouponEndTime\": 0,\n                    \"mallCouponMaxDiscountAmount\": 0,\n                    \"mallCouponMinOrderAmount\": 0,\n                    \"mallCouponRemainQuantity\": 0,\n                    \"mallCouponStartTime\": 0,\n                    \"mallCouponTotalQuantity\": 0,\n                    \"mallCps\": 1,\n                    \"mallId\": 742740777,\n                    \"mallImgUrl\": \"http://t16img.yangkeduo.com/pdd_ims/mainObject/v1/pub_202010132aefd1d168984ade9e4307af237cbc8a.jpg\",\n                    \"mallName\": \"认养食品旗舰店\",\n                    \"materialList\": [],\n                    \"merchantType\": 3,\n                    \"minGroupPrice\": 11800,\n                    \"minNormalPrice\": 14200,\n                    \"onlySceneAuth\": true,\n                    \"optId\": 1,\n                    \"optIds\": [\n                        1,\n                        22945,\n                        2402,\n                        10724,\n                        11814,\n                        230,\n                        8584,\n                        10696,\n                        8585,\n                        8586,\n                        683,\n                        10700,\n                        12,\n                        22926,\n                        11120,\n                        10035,\n                        11828,\n                        22933,\n                        9975,\n                        8569,\n                        8570,\n                        8571,\n                        219,\n                        9982\n                    ],\n                    \"optName\": \"食品\",\n                    \"planType\": 4,\n                    \"predictPromotionRate\": 99,\n                    \"promotionRate\": 69,\n                    \"salesTip\": \"19.7万+\",\n                    \"servTxt\": \"高\",\n                    \"serviceTags\": [\n                        9,\n                        36,\n                        3,\n                        1,\n                        15,\n                        24\n                    ],\n                    \"shareRate\": 0,\n                    \"skuList\": null,\n                    \"subsidyAmount\": 0,\n                    \"subsidyDuoAmountTenMillion\": null,\n                    \"subsidyGoodsType\": 4,\n                    \"unifiedTags\": [\n                        \"20元福利券\",\n                        \"坏了包赔\",\n                        \"正品险\",\n                        \"退货包运费\",\n                        \"全场包邮\",\n                        \"假一赔十\",\n                        \"极速退款\"\n                    ],\n                    \"videoUrls\": [],\n                    \"zsDuoId\": 0\n                }\n            ]\n        }\n    },\n    \"timestamp\": 1735727680609,\n    \"executeTime\": 153\n}",
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================
import pdd;    //导入tbk模块

var params =  {
    apiMethodName:"pdd.ddk.goods.detail"
    };
if(body!=null){
    params.putAll(body);
}
var response = pdd.execute(params);
if(response.errorResponse!=null){
    exit 500,response.errorResponse.errorMsg+"."+response.errorResponse.subMsg;
}
return response;